//
//  BuyViewController.m
//  110
//
//  Created by 沈鑫 on 16/4/12.
//  Copyright © 2016年 乔砥. All rights reserved.
//

#import "BuyViewController.h"
@interface BuyViewController ()<UIWebViewDelegate>
@property (nonatomic, strong)UIWebView *myWebView;
@end

@implementation BuyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    _myWebView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, KWIDTH, KHEIGHT - 64)];
    _myWebView.delegate = self;
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:_saleurl]];
    [_myWebView loadRequest:request];
    [self.view addSubview:_myWebView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
